package com.pojo;

import java.io.Serializable;


public class AccountRole implements Serializable {

    private Integer aId;
    private Account account;
    private Role role;

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public AccountRole(Integer aId, Account account, Role role) {
        this.aId = aId;
        this.account = account;
        this.role = role;
    }

    public AccountRole() {
    }

    @Override
    public String toString() {
        return "AccountRole{" +
                "aId=" + aId +
                ", account=" + account +
                ", role=" + role +
                '}';
    }
}
